package com.taotao.service.impl;

import com.taotao.mapper.ItemDescMapper;
import com.taotao.pojo.ItemDesc;
import com.taotao.service.ItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hong.zheng
 * @Description
 * @date 2018-09-04-16:49
 **/
@Service
public class ItemDescServiceImpl implements ItemDescService {
    @Autowired
    ItemDescMapper itemDescMapper;
    @Override
    public ItemDesc getItemDescByItemId(Long itemId) {
        return itemDescMapper.findByItemId(itemId);
    }
}
